package cn.tedu.commpro.service;

import cn.tedu.commpro.mapper.GroupECommProSaleMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class GroupECommProSaleService {
    @Resource
    private GroupECommProSaleMapper groupECommProSaleMapper;

    /**
     * @author Jane
     * service接口
     * 更新商品上架pro_status状态
     */
    public int updateProductStatusByProSpuAndProShopId(String spu, Long shopId) throws Exception {
        return groupECommProSaleMapper.updateProductStatusByProSpuAndProShopId(spu, shopId);
    }
}
